package com.ttmall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttmall.common.utils.PageUtils;
import com.ttmall.product.entity.SpuInfoDescEntity;
import com.ttmall.product.entity.SpuInfoEntity;
import com.ttmall.product.vo.SpuSaveVO;

import java.util.Map;

/**
 * spu信息
 *
 * @author xxx
 * @email xxx@gmail.com
 * @date 2021-11-27 21:28:25
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVO spuInfo);

     void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity) ;

    PageUtils queryPageByCondition(Map<String, Object> params);

    /**
     * 商品上架
     * @param spuId
     */
    void up(Long spuId);
}

